/* 
 * File:   window_form.h
 * Author: dima
 *
 * Created on 19 октября 2014 г., 0:31
 */

#ifndef _WINDOW_FORM_H
#define	_WINDOW_FORM_H

#include <QDialog>
#include <QLabel>
namespace Ui
{
class window_form;
}

namespace ipd
{
class ipd_img;
}
class form_scaling;

class window_form : public QDialog
{
    Q_OBJECT
public:
    window_form();
    virtual ~window_form();
private slots:
    void convert_image();
    void save_image();
    void open_image();
    void get_image(ipd::ipd_img &image);
private:
    ipd::ipd_img* img;
    form_scaling *frm_scaling;
    Ui::window_form *widget;
    void show_img(QLabel *label, ipd::ipd_img &image); //show image
    void delete_form_scaling(); //delete form_scaling
    bool create_form_scaling(); //create class form_scaling
};

#endif	/* _WINDOW_FORM_H */
